#ifndef pkm_viewportlink_h
#define pkm_viewportlink_h

#include "AbstractViewport.h"
#include "ConcreteViewport.h"

namespace k2graphics
{

class ViewportLink
{
private:
	AbstractViewport* src;
	ConcreteViewport* dest;

	int srcID;
	int destID;

	int linkID;
public:
	ViewportLink(int vplID);
	void updateLink(double dt);
	AbstractViewport* getSrc(){ return src; }
	ConcreteViewport* getDest(){ return dest; }

	int getID(){ return linkID; }

	void setLocalSrc(AbstractViewport* nsrc, int nsrcID);
	void setLocalDest(ConcreteViewport* ndest, int ndestID);
};

}
#endif